package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 我的道具卡对象 mp_client_card
 * 
 * @author ruoyi
 * @date 2022-08-05
 */
@ApiModel(value = "MpClientCard",description = "我的道具卡对象 mp_client_card")
public class MpClientCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 我的道具卡主键 */
    private Long id;

    /** 道具卡ID */
    @ApiModelProperty(value="道具卡ID",name="MpClientCard$cardId")
    @Excel(name = "道具卡ID")
    private Long cardId;

    /** 道具卡数量 */
    @ApiModelProperty(value="道具卡数量",name="MpClientCard$cardCount")
    @Excel(name = "道具卡数量")
    private Long cardCount;

    /** 用户ID */
    @ApiModelProperty(value="用户ID",name="MpClientCard$clientId")
    @Excel(name = "用户ID")
    private Long clientId;
    private String cardName;
    private String cardImg;

    public String getCardImg() {
        return cardImg;
    }

    public void setCardImg(String cardImg) {
        this.cardImg = cardImg;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCardId(Long cardId) 
    {
        this.cardId = cardId;
    }

    public Long getCardId() 
    {
        return cardId;
    }
    public void setCardCount(Long cardCount) 
    {
        this.cardCount = cardCount;
    }

    public Long getCardCount() 
    {
        return cardCount;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardId", getCardId())
            .append("cardCount", getCardCount())
            .append("clientId", getClientId())
            .toString();
    }
}
